/* Styling for the popup container */
.whatsapp-popup {
    position: fixed;
    bottom: 20px; /* Adjusted closer to the bottom */
    left: 20px;
    width: 300px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 15px; /* Rounded corners */
    overflow: hidden;
    font-family: Arial, sans-serif;
    display: none;
    z-index: 9999; /* Highest layer */
}

/* Popup header */
.popup-header {
    background-color: #28a745;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    position: relative;
    border-top-left-radius: 15px; /* Rounded corners for header */
    border-top-right-radius: 15px;
}

/* Close button */
.popup-header .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: white;
    cursor: pointer;
}

/* Popup content for each contact */
.popup-content {
    padding: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
}

.popup-content:last-child {
    border-bottom: none; /* Remove border for the last contact */
}

.popup-content img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
}

.popup-content .contact-info {
    flex: 1;
}

.contact-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.contact-info p {
    margin: 5px 0 0;
    color: gray;
}

/* Order via WhatsApp button */
.whatsapp-order-button {
    background-color: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: block;
    border-radius: 50px; /* Rounded button */
    z-index: 9999; /* Highest layer */
}

.whatsapp-order-button:hover {
    background-color: #1ebe5a;
}

/* Trigger button */
#whatsappTrigger {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px; /* Rounded trigger button */
    z-index: 9999; /* Highest layer */
}

#whatsappTrigger:hover {
    background-color: #1ebe5a;
}